package com.example.mydata.Vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.awt.print.Book;
import java.util.ArrayList;
import java.util.List;
@ApiModel
@Data
public class User {
        @ApiModelProperty("用户id")
        private String userId;
        @ApiModelProperty("姓名")
        private String name;
        private List<Book> borrowedBooks = new ArrayList<>(); // 当前借阅的书
}
